package com.example.springdemo.entity;

import java.util.Date;


/**
 * 商品评论对象 productreviews
 * 
 * @author ruoyi
 * @date 2025-06-08
 */
public class Productreviews
{
    private static final long serialVersionUID = 1L;

    /** 评论ID */
    private String reviewid;

    /** 关联商品ID */

    private String productid;

    /** 用户ID */

    private String userid;

    /** 评论内容 */

    private String content;

    /** 1-5星评分 */

    private String rating;

    /** 创建时间 */
    private Date createdate;

    /** 评论状态 */

    private String reviewstate;

    /** 评论图片 */

    private String reciveimg;

    public void setReviewid(String reviewid) 
    {
        this.reviewid = reviewid;
    }

    public String getReviewid() 
    {
        return reviewid;
    }
    public void setProductid(String productid) 
    {
        this.productid = productid;
    }

    public String getProductid() 
    {
        return productid;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setRating(String rating) 
    {
        this.rating = rating;
    }

    public String getRating() 
    {
        return rating;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setReviewstate(String reviewstate) 
    {
        this.reviewstate = reviewstate;
    }

    public String getReviewstate() 
    {
        return reviewstate;
    }
    public void setReciveimg(String reciveimg) 
    {
        this.reciveimg = reciveimg;
    }

    public String getReciveimg() 
    {
        return reciveimg;
    }

}
